//
//  CMDDataProcessor.h
//  wAudioShare
//
//  Created by Anson on 14-4-3.
//  Copyright (c) 2014年 赵帅. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^DataRecivedBlock)(id data);

@interface CMDDataProcessor : NSObject

@property (nonatomic, strong) DataRecivedBlock dataRecivedBlock;

+(CMDDataProcessor *) sharedInstance;

//-(id)getResultData;
- (void)getDeviceListResultDataWithDataRecivedBlock:(DataRecivedBlock)bolck;
- (void)clearDeviceListData;

//-(void)cleanData;
- (void)sendCMDId:(int)cmdid cmdLength:(int)length withData:(void *)cmdData callRecivedBlock:(DataRecivedBlock)bolck;
- (void)revServerDataCall:(NSData *)data;
- (NSInteger)sendCGIURLCMDWithData:(void *)cmdData callRecivedBlock:(DataRecivedBlock)bolck;



- (void)revServerDevListData:(NSData *)data;
- (void)updateDevStatusChangeData:(NSData *)data;

@end
